<?php
require_once("func.php");

#debug($_POST);

if(!empty($_GET['id']))
{
	$sql = "update todos set date_finished=NOW() where id = '".$_GET['id']."'";
	dbq($sql);
	header("Location: index.php?zoom_id=".$_GET['zoom_id']."");
	exit();
}

?>